package com.twinkle.user.biz.mapper;


import com.twinkle.user.biz.model.entity.Permission;

import java.util.List;

/**
* @author Lenovo
* @description 针对表【t_permission(权限表)】的数据库操作Mapper
* @createDate 2025-08-22 16:39:38
* @Entity com.twinkle.auth.model.entity.Permission
*/
public interface PermissionMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Permission record);

    int insertSelective(Permission record);

    Permission selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Permission record);

    int updateByPrimaryKey(Permission record);

    List<Permission> selectEnabledList();
}
